package ntd.util.modular.function.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.util.metadata.NtdField;



@EqualsAndHashCode(callSuper = true)
@TableName("function_project")
@Data
@Schema(description = "功能中心 - 项目信息管理")
public class Project extends BaseEntityMybatis<Project> {

    @Schema(description = "项目名称", title = "项目名称")
    private String name;
    @Schema(description = "源码地址", title = "源码地址")
    private String linkSourceAddress;
    @Schema(description = "访问地址", title = "访问地址")
    private String linkAddress;
    @Schema(description = "项目账号", title = "项目账号")
    private String account;
    @Schema(description = "项目密码", title = "项目密码")
    private String password;
    @Schema(description = "所属机构", title = "所属机构")
    @NtdField(type = 6, oneModular = "common", twoModular = "mechanism")
    private String mechanismId;
    @Schema(description = "项目组", title = "项目组")
    @NtdField(type = 6, oneModular = "function", twoModular = "project-group")
    private String projectGroupId;
    @Schema(description = "负责人", title = "负责人")
    private String personInCharge;
    @Schema(description = "负责人电话", title = "负责人电话")
    private String personPhone;
    @Schema(description = "备注信息", title = "备注信息")
    private String remark;

}
